//
//  ViewController.m
//  TestNVR
//
//  Created by xzh on 14-7-29.
//  Copyright (c) 2014年 xzh. All rights reserved.
//

#import "ViewController.h"
#import "NVRLeftView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    
    NSArray *array = [[NSArray alloc] initWithObjects:@"1", @"2", @"3", @"4", @"5", @"6", @"7", @"8", @"9", @"10", @"11", @"12", @"13", @"14", @"15", @"16", @"17", nil];
    
    NVRLeftView *view = [[NVRLeftView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.height, self.view.frame.size.width) withChannelArray:array];
    [view setBackgroundColor:[UIColor yellowColor]];
    [self.view addSubview:view];

}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
    
   }

@end
